package com.lordjoe.collectiveintelligence.data;

/**
 * com.lordjoe.collectiveintelligence.data.MeasurementType
 *
 * @author Steve Lewis
 * @date May 12, 2009
 */
public class MeasurementType<T> implements IMeasurementType<T>
{
    public static MeasurementType[] EMPTY_ARRAY = {};
    public static Class THIS_CLASS = MeasurementType.class;

    private final String m_Name;
    private final Class<T> m_Type;

    public MeasurementType(String pName, Class<T> pType)
    {
        m_Name = pName;
        m_Type = pType;
    }

    public String getName()
    {
        return m_Name;
    }

    public Class<T> getType()
    {
        return m_Type;
    }
}
